import request from '@/utils/request'

export default {
  getReturnsList(params) {
    return request.get('/goods/returns', { params })
  },
  getCategoriesList() {
    return request.get('/goods/categories')
  },
  createGoods(data) {
    return request.post('/goods/create', data)
  },
  getSellingList(params) {
    return request.get('/goods/selling', { params })
  },
  getWarehouseList(params) {
    return request.get('/goods/warehouse', { params })
  }
}